package com.yang.crawler.html.dto;

import com.yang.crawler.html.enums.HtmlTagEnum;
import lombok.Data;

import java.io.Serializable;

@Data
public class HtmlBlockDTO implements Serializable {
    private HtmlTagEnum htmlTag;

    private String content;

    public HtmlBlockDTO(HtmlTagEnum htmlTag, String content) {
        this.htmlTag = htmlTag;
        this.content = content;
    }
}
